package com.qfedu.meidijiaju.controller;


import com.qfedu.meidijiaju.common.ResponseData;
import com.qfedu.meidijiaju.entity.StSoft;
import com.qfedu.meidijiaju.service.StSoftService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author meidimeiju
 * @since 2022-10-05
 */
@RestController
@Api(tags = "商城主页面类型")
public class StSoftController {

    @Autowired
    private StSoftService stSoftService;

    @RequestMapping("/queryShoppingByTypeId")
    public ResponseData<List<StSoft>> queryShoppingByTypeId(int typeId){

        return stSoftService.queryShoppingByTypeId(typeId);
    }

}

